{% extends "base.html" %}

{% block title %}Welcome{% endblock %}

{% block body %}
{% if user.is_authenticated %}
  <p>You are currently logged in as: {{ user.get_full_name }}</p>
  <p>Your permissions are: {{ user.get_all_permissions }}</p>
{% else %}
  {% include "fb_login_button.html" %}
{% endif %}
{% endblock %}